Theoretical Foundations for Practical ‘Totally Functional Programming’
نویسنده
چکیده
Interpretation is an implicit part of today’s programming; it has great power but is overused and has significant costs. For example, interpreters are typically significantly hard to understand and hard to reason about. The methodology of “Totally Functional Programming” (TFP) is a reasoned attempt to redress the problem of interpretation. It incorporates an awareness of the undesirability of interpretation with observations that definitions and a certain style of programming appear to offer alternatives to it. Application of TFP is expected to lead to a number of significant outcomes, theoretical as well as practical. Primary among these are novel programming languages to lessen or eliminate the use of interpretation in programming, leading to better-quality software. However, TFP contains a number of lacunae in its current formulation, which hinder development of these outcomes. Among others, formal semantics and type-systems for TFP languages are yet to be discovered, the means to reduce interpretation in programs is to be determined, and a detailed explication is needed of interpretation, definition, and the differences between the two. Most important of all however is the need to develop a complete understanding of the nature of interpretation. In this work, suitable type-systems for TFP languages are identified, and guidance given regarding the construction of appropriate formal semantics. Techniques, based around the ‘fold’ operator, are identified and developed for modifying programs so as to reduce the amount of interpretation they contain. Interpretation as a means of language-extension is also investigated.
منابع مشابه
Searching for the Origins of Schwab's Deliberative Curriculum Theory in the Thoughts of Aristotle, Dewey and Habermas
The main purpose of this study is exploring the roots and foundations of Schwab’s deliberative theory in curriculum. Therefore, after examining this theory in introduction, its foundations and origins were investigated. According to this, basic assumptions of this theory are practical and quasi practical arts, eclectic arts, commonplace and collective decision. Aristotle’s distinction between i...
متن کاملProgramming language semantics in foundational type theory
languages --e.g., theoretical foundations, syntax, semantics, types, scope of Brief history of programming languages, Syntax, Semantics, Essentials, Paradigms Expression evaluation orders, Types, Recursion, Higher-order programming Programming Distributed Computing Systems: A Foundational Approach. type theory and the foundations of functional programming languages. Secondly, I would like to th...
متن کاملTHE SYSTEMIC ENTERPRISE ARCHITECTURE METHODOLOGY (SEAM) Business and IT Alignment for Competitveness
For companies to be more competitive, they need to align their business and IT resources. Enterprise Architecture is the discipline whose purpose is to align more effectively the strategies of enterprises together with their processes and their resources (business and IT). Enterprise architecture is complex because it involves different types of practitioners with different goals and practices ...
متن کاملDagstuhl Seminar 17051 Theory and Applications of Behavioural Types
This report documents the programme and the outcomes of Dagstuhl Seminar 17051 “Theory and Applications of Behavioural Types”. Behavioural types describe the dynamic aspects of programs, in contrast to data types, which describe the fixed structure of data. Perhaps the most well-known form of behavioural types is session types, which are type-theoretic specifications of communication protocols....
متن کاملMonadic Type Systems: Pure Type Systems for Impure Settings
Pure type systems and computational monads are two parameterized frameworks that have proved to be quite useful in both theoretical and practical applications. We join the foundational concepts of both of these to obtain monadic type systems. Essentially, monadic type systems inherit the parameterized higher-order type structure of pure type systems and the monadic term and type structure used ...
متن کامل